package org.anjan.dp.decorator.pizzasample;

/**
 * Created by chebbaso on 12/4/14.
 */
public class PizzaMaker {
    public static void main(String[] args) {
        Pizza plainPizza = new TomatoSauce(new Mozzarella(new TomatoSauce(new PlainPizza())));
        String description = plainPizza.getDescription();
        double price = plainPizza.getPrice();
        System.out.println("price = " + price);
        System.out.println("description = " + description);

    }
}
